An Õ(mn) Algorithm for Minimum Cycle Basis of Graphs∗
نویسندگان
چکیده
We consider the problem of computing a minimum cycle basis of an undirected non-negative edge-weighted graph G with m edges and n vertices. In this problem, a {0, 1} incidence vector is associated with each cycle and the vector space over F2 generated by these vectors is the cycle space of G. A set of cycles is called a cycle basis of G if it forms a basis for its cycle space. A cycle basis where the sum of the weights of the cycles is minimum is called a minimum cycle basis of G. Minimum cycle basis are useful in a number of contexts, e.g. the analysis of electrical networks and structural engineering. The previous best algorithm for computing a minimum cycle basis has running time O(mn), where ω is the best exponent of matrix multiplication. It is presently known that ω < 2.376. We exhibit an O(mn + mn logn) algorithm. When the edge weights are integers, we have an O(mn) algorithm. For unweighted graphs which are reasonably dense, our algorithm runs in O(m) time. For any > 0, we also design an 1 + approximation algorithm. The running time of this algorithm is O((m/ ) log(W/ )) for reasonably dense graphs, where W is the largest edge weight.
منابع مشابه
A Polynomial Time Algorithm for Minimum Cycle Basis in Directed Graphs
We consider the problem of computing a minimum cycle basis in a directed graph G with m arcs and n vertices. The arcs of G have non-negative weights assigned to them. We give an Õ(mn) algorithm, which is the first polynomial time algorithm for this problem. We also present an Õ(mn) randomized algorithm. The problem of computing a minimum cycle basis in an undirected graph has been well-studied....
متن کاملA Faster Algorithm for Minimum Cycle Basis of Graphs
In this paper we consider the problem of computing a minimum cycle basis in a graph G with m edges and n vertices. The edges of G have non-negative weights on them. The previous best result for this problem was an O(mn) algorithm, where ω is the best exponent of matrix multiplication. It is presently known that ω < 2.376. We obtain an O(mn +mn logn) algorithm for this problem. Our algorithm als...
متن کاملSolis Graphs and Uniquely Metric Basis Graphs
A set $Wsubset V (G)$ is called a resolving set, if for every two distinct vertices $u, v in V (G)$ there exists $win W$ such that $d(u,w) not = d(v,w)$, where $d(x, y)$ is the distance between the vertices $x$ and $y$. A resolving set for $G$ with minimum cardinality is called a metric basis. A graph with a unique metric basis is called a uniquely dimensional graph. In this paper, we establish...
متن کاملMinimum Cycle and Homology Bases of Surface Embedded Graphs
We study the problems of finding a minimum cycle basis (a minimum weight set of cycles that form a basis for the cycle space) and a minimum homology basis (a minimum weight set of cycles that generates the 1-dimensional (Z2)-homology classes) of an undirected graph embedded on an orientable surface of genus g. The problems are closely related, because the minimum cycle basis of a graph contains...
متن کاملAn Õ(m2n) Randomized Algorithm to Compute a Minimum Cycle Basis of a Directed Graph
We consider the problem of computing a minimum cycle basis in a directed graph G. The input to this problem is a directed graph whose arcs have positive weights. In this problem a 1 0 1 incidence vector is associated with each cycle and the vector space over generated by these vectors is the cycle space of G. A set of cycles is called a cycle basis of G if it forms a basis for its cycle space. ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2004